<!DOCTYPE html>
<html>

	<head lang="en">
		<title>攻略文章</title>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
		<link rel="stylesheet" href="/js/bootstrap-4.1.1-dist/css/bootstrap.min.css">
		<script src="/js/jquery/jquery.min.js"></script>
		<script src="/js/bootstrap-4.1.1-dist/js/bootstrap.min.js"></script>
		<link rel="stylesheet" href="/css/font/css/font-awesome.min.css" />
		<link rel="stylesheet" href="/css/reset.css" />
		<link rel="stylesheet" href="/css/strategyDetails.css" />
		<script src="/js/plugins/jrender/jrender.min.js"></script>
		<script src="/js/checkLogin.js"></script>
		<script src="/js/common.js"></script>
	</head>

	<script>
		$(function(){
			var systemId = getParams().id;
			if (systemId) {
				//更改系统消息状态为已读
				$.ajax({
					url:baseUrl+"/systemMessages/"+systemId+"/"+user.id,
					type:"put"
				});
				/**
				 * 根据系统消息id获取对应的系统消息内容
				 * 资源:/systemMessages/content/{systemId}
				 * 请求方式:get
				 * 请求参数:
				 * 返回值:SystemMessage
				 */
				$.get(baseUrl+"/systemMessages/content/"+systemId,function(data){
					$(".systemMsg").renderValues(data);
				});
            }
		})
	</script>

	<body style="background: url('/upload/2.bmp')">

	<div class=" nav-search">
		<a href="javascript:history.go(-1);">
			<span><i class="fa fa-chevron-left"></i></span>
		</a>
	</div>
	<hr>

	<div class="container systemMsg">
		<h4 class="title"><strong render-html="title"></strong></h4>
		<div class="releaseTime"><span render-html="releaseTime">32分钟前</span></div>
		<div class="content" render-html="content">
		</div>
	</div>
	</body>

</html>